package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.pojo.Todo;
import com.itheima.utils.Result;

public interface TodoService {
    int add(Todo todo,String username);

    Result delete(Todo todo);

    Result edit(Boolean done,String uid,String text);

    Page<Todo> getList(Todo todo);
}
